Keyword Reference

Func OnAutoItStart ()...EndFunc

Defines a user-defined function that will be called before the script start.

Func OnAutoItStart ( )
    ...
EndFunc

 

Parameters

None.

 

Remarks

The name of the function cannot be changed as it can for the "OnAutoItExit".

 

Related

Func OnAutoItExit (), OnExitFunc (Option)

 

Example


MsgBox(0,"","first statement")

Func OnAutoItStart()
    MsgBox(0,"","Before first statement")
EndFunc